<template lang="">
<div :id="aaa" :title="bbb">
这是div
</div>
<button @click="alertStr"> button</button>
</template>
<script>
export default {
  data(){
    return{
      aaa:'123123',
      bbb:'33333'
    }
  },
  methods:{
   alertStr() {
    alert(123123)
    this.aaa='hahaha'
   }
  }
}
</script>
<style lang="">
</style>
